home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1548 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: parsifal.nando.net!sirrobin
  2. From: sirrobin@nando.net (sirrobin)
  3. Newsgroups: comp.lang.c++
  4. Subject: A file I/O question
  5. Date: 11 Jan 1996 16:48:45 GMT
  6. Organization: NandO.net
  7. Message-ID: <4d3f1d$3l3@castle.nando.net>
  8. NNTP-Posting-Host: parsifal.nando.net
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Okay this one is probably VERY easy :)
  12. What i want to do is read a file called part.dat until it reaches a !
  13. I have no problem with this
  14. Now what i want to do is WRITE over that ! and add a new field and then add
  15. a ! after the new field
  16. My problem is that ifstream on my compiler does not have getch as
  17. a member so i cannot keep a count of WHERE i should start writing to
  18. the file...
  19. Is there something i am missing..
  20. Thanks in advance
  21.  
  22. --
  23. ()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
  24. () Richard Arnesen       ()  Paraphrasing Bryant Gumbel on Today  ()
  25. () sirrobin@nando.net    ()  So which do you think has been worse ()
  26. () GO WOLFPACK           ()  for the country, Newts Contract or   ()
  27. ()                       ()  the Oklahoma City Bombing            ()
  28. ()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
  29.  
  30.   
  31.